﻿using System.Globalization;

namespace ODM.Data.Model
{
    public class Site
    {
        public Site()
        {

        }

        public Site(Site source)
        {
            this.ID = source.ID;
            this.Code = source.Code;
            this.Name = source.Name;
        }

        public int ID { get; set; }

        public string Code { get; set; }
        
        public string Name { get; set; }

        public override string ToString()
        {
            return string.Format(CultureInfo.CurrentUICulture, "{0} - {1}", this.Code, this.Name);
        }
    }
}
